package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 学生表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("per_student")
@ApiModel(value = "Student对象", description = "学生表")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("身份证号")
    private String idCardNo;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("学员所属校区（铭远）")
    private Long schoolId;

    @ApiModelProperty("学员在读学校（公立）")
    private Long readSchoolId;

    @ApiModelProperty("头像")
    private String headImg;

    @ApiModelProperty("性别：1男，2女，3未知")
    private Integer sex;

    @ApiModelProperty("年级id")
    private Integer gradeId;

    @ApiModelProperty("公立校班级")
    private String className;

    @ApiModelProperty("现在所在学校")
    private String schoolName;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("微信是否关注")
    private Integer isGuanzhu;

    @ApiModelProperty("是否人脸采集")
    private Integer isGather;

    @ApiModelProperty("人脸采集id")
    private String entityId;

    @ApiModelProperty("1正常")
    private Integer status;

    private String linkman;

    private String linkmanPhone;

    @ApiModelProperty("等级：1市级，2县级")
    private Integer level;

    @ApiModelProperty("创建人")
    private Long createdId;

    private Integer deleted;

    @ApiModelProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty("deleted_at")
    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getReadSchoolId() {
        return readSchoolId;
    }

    public void setReadSchoolId(Long readSchoolId) {
        this.readSchoolId = readSchoolId;
    }
    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }
    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public Integer getIsGuanzhu() {
        return isGuanzhu;
    }

    public void setIsGuanzhu(Integer isGuanzhu) {
        this.isGuanzhu = isGuanzhu;
    }
    public Integer getIsGather() {
        return isGather;
    }

    public void setIsGather(Integer isGather) {
        this.isGather = isGather;
    }
    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }
    public String getLinkmanPhone() {
        return linkmanPhone;
    }

    public void setLinkmanPhone(String linkmanPhone) {
        this.linkmanPhone = linkmanPhone;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "Student{" +
            "id=" + id +
            ", idCardNo=" + idCardNo +
            ", name=" + name +
            ", remark=" + remark +
            ", schoolId=" + schoolId +
            ", readSchoolId=" + readSchoolId +
            ", headImg=" + headImg +
            ", sex=" + sex +
            ", gradeId=" + gradeId +
            ", className=" + className +
            ", schoolName=" + schoolName +
            ", address=" + address +
            ", isGuanzhu=" + isGuanzhu +
            ", isGather=" + isGather +
            ", entityId=" + entityId +
            ", status=" + status +
            ", linkman=" + linkman +
            ", linkmanPhone=" + linkmanPhone +
            ", level=" + level +
            ", createdId=" + createdId +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
